<?php foreach($models as $model){ ?>
<li><a href="#" onclick="openApp(<?php echo $model->id; ?>);return false;"><?php echo $model->title; ?></a></li>
<?php } ?>
